package cn.edu.scau.cmi.xiefuan.client;

import cn.edu.scau.cmi.xiefuan.abstractfactory.domainAbstractClass.AbstractBodyInjury;
import cn.edu.scau.cmi.xiefuan.abstractfactory.factory.InsuranceFactory;

public class AbstractFactoryClient {
	
	public static void main(String[] args) {
		InsuranceFactory insurance = InsuranceFactory.getInsuranceFactory("PICC");
		
		AbstractBodyInjury bodyInjury = insurance.createBodyInjury();
		
		bodyInjury.describe();
	}
}
